const letters = ["A", "C", "D#", "F#"]

const octaves = [1, 2, 3, 4, 5, 6]

const samplePath = `assets/engine/PianoSamples/`;

const velocity = 1

const notes: any = []

letters.forEach(letter => {
    octaves.forEach(octave => {
        notes.push(letter + octave)
    })
})

const Samples: any = {}

notes.forEach((note: string) => {
    let noteFilename = note

    if (note.includes("#")) {
        noteFilename = note.replace("#", "sharp")
    }
    Samples[note] = `${samplePath + noteFilename}v${velocity}.mp3`;
})

export default Samples